SetTimeBaseValue
TheSetTimeBaseValue
function allows your application to set the current time of a time base. You must specify the new time as a time value.
pascal void SetTimeBaseValue (TimeBase tb, TimeValue t, TimeScale s);
tb
- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBase
function (described on page 2-297).t
- Specifies the new time value.
s
- Specifies the time scale of the new time value.
DESCRIPTION
If you set the current time of a time base that is the master time base for other time bases, the current times in all the dependent time bases are changed appropriately. If you change the current time in a time base that relies on a master time base, the Movie Toolbox changes the offset between the time base and the master time base--the master time base is not affected.ERROR CODES
NoneSEE ALSO
You can set the current time of a time base from a time structure by calling theSetTimeBaseTime
function, which is described in the previous section.